﻿using System.Web.Mvc;

namespace ValidationFramework.Web.MVC.Extensions
{
	public static class ViewPageExtensions
	{
		public static ValidationHelper Validation(this ViewPage viewPage)
		{
			return new ValidationHelper(viewPage.ViewContext);
		}
	}
}
